<template>
	<view>
		<view class="fuxibox margin_top">
			<view class="muhu box radius" @click="jumpurl(1)">
				<view class="bigtext">模糊</view>
				<view class="xiaotext">不为失败找借口，要为成功找方法</view>
			</view>
			<view class="shuji box radius" @click="jumpurl(2)">
				<view class="bigtext">熟记</view>
				<view class="xiaotext">学而不思则罔，思而不学则殆</view>
			</view>
			<view class="lijie box radius" @click="jumpurl(3)">
				<view class="bigtext">理解</view>
				<view class="xiaotext">温故而知新，可以为师矣</view>
			</view>
		</view>
	</view>
</template>

<script>
	const httpRequest = require("@/common/httpRequest.js")
	export default {
		data() {
			return {
				list:[]
			}
		},
		onLoad(options) {
			this.getlist()
		},
		methods: {
			getlist() {
				httpRequest.request("/api/quizz/quizz_count", 'POST', {}, false, false, true).then(res => {
					this.list = res.data
				})
			},
			jumpurl(index) {
				uni.navigateTo({
					url: "/pages/mercharts/fuxidati?type="+index
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.lijie {
		background: linear-gradient(130deg, #E5735B, #F57B61);
	}

	.shuji {
		background: linear-gradient(-47deg, #E5885B, #F89B6E);
	}

	.xiaotext {
		text-align: center;
		font-size: 24rpx;
		font-family: Microsoft YaHei;
		font-weight: 400;
		color: #FFFFFF;
	}

	.bigtext {
		text-align: center;
		font-size: 36rpx;
		font-family: Microsoft YaHei;
		font-weight: bold;
		color: #FFFFFF;
		margin-bottom: 20rpx;
	}

	.box {
		padding: 70rpx 90rpx 66rpx;
		margin: 70rpx 100rpx 0;
	}

	.muhu {
		background: linear-gradient(-47deg, #BEDEE6, #B7D1D8);
	}
</style>
